<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <link rel="icon" href="static/img/logo/logo2.ico">
    <title>Title</title>
</head>
<body>
    <div id = "welcome"></div>
    <a href="/login">登录</a>
    <a href="/configs/author">message</a>
</body>
    <script type="text/javascript">
        window.onload = function(){
            function welcome() {
                let funcWelcome = document.getElementsByName("welcome");
                const WshShell = new ActiveXObject("WScript.Shell");
                funcWelcome.innerHTML = "Welcome " + WshShell.ExpandEnvironmentString("%COMPUTERNAME%");
            }
        }
    </script>
</html>